package org.jeecg.common.multipart;

public class CoreContext {
    private static ThreadLocal<String> serverNameThreadLocal = new ThreadLocal();

    public CoreContext() {
    }

    public static String getServerName() {
        return serverNameThreadLocal.get();
    }

    public static void setServerName(String serverName) {
        serverNameThreadLocal.set(serverName);
    }

    public static void removeServerName() {
        serverNameThreadLocal.remove();
    }
}
